package com.skyworthclub.competition.beans.dto;


import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;

/**
 * @author li
 * @version 1.0
 * @since 18-10-16 下午11:51
 **/
public class SendValidationCodeDto {

    @NotEmpty
    @Email(message = "请填写正确的邮件地址")
    private String email;

    /** 验证码目的
     * 1.注册；2.忘记密码
     */
    @NotEmpty
    private String sendFor;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSendFor() {
        return sendFor;
    }

    public void setSendFor(String sendFor) {
        this.sendFor = sendFor;
    }
}
